<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/core" prefix="c"%>
<div align="center" style="padding:10px;">
	<table width="350" border="0" cellspacing="0" cellpadding="0">
	    <tr align="center">
	    	<td colspan="3" class="titulos"><c:out value="${WarehouseByLocationForm.warehouseByLocationView.warehouseView.code}"/> - <c:out value="${WarehouseByLocationForm.warehouseByLocationView.warehouseView.name}"/> / <c:out value="${WarehouseByLocationForm.warehouseByLocationView.cornTypeView.shortName}"/> - <c:out value="${WarehouseByLocationForm.warehouseByLocationView.cornTypeView.description}"/></td>
	    </tr>
	    <tr align="center">
			<td colspan="3" class="titulos"><bean:message key="stock.by.location"/></td>
	    </tr>
	    <tr> 
			<td align="center" class="titcolumna"><bean:message key="stock.location"/></td>
            <td class="titcolumna">&nbsp;%&nbsp;</td>
            <td class="titcolumna" align="center"><bean:message key="stock.ton"/></td>
         </tr>
		<c:forEach var="stockView" items="${WarehouseByLocationForm.warehouseByLocationView.stockViewsList}">
			<tr>
				<td width="159" align="center"><c:out value="${stockView.location}"/></td>
				<td class="marco" width="32" align="left"><img src="img/verde.gif" width="<c:out value="${ (stockView.percentage/100)*32 }"/>" title="<c:out value="${stockView.percentage}"/>%" height="12"></td >
				<td width="159" align="right"><c:out value="${stockView.cimaAmount}"/></td>
			</tr>
		</c:forEach>
	</table>
</div>